package com.ruoyi.background.mapper;

import com.ruoyi.background.domain.AppWorkTeam;
import com.ruoyi.background.domain.AppWorkTeamUser;

import java.util.List;

/**
 * 健步走队伍Mapper接口
 *
 * @author susu
 * @date 2024-09-04
 */
public interface AppWorkTeamMapper {
    /**
     * 查询健步走队伍
     *
     * @param id 健步走队伍主键
     * @return 健步走队伍
     */
    public AppWorkTeam selectAppWorkTeamById(Long id);

    /**
     * 通过队伍编码查询
     *
     * @param teamCode 队伍编码
     * @return 结果
     */
    public AppWorkTeam selectAppWorkTeamByCode(String teamCode);



    /**
     * 查询健步走队伍列表
     *
     * @param appWorkTeam 健步走队伍
     * @return 健步走队伍集合
     */
    public List<AppWorkTeam> selectAppWorkTeamList(AppWorkTeam appWorkTeam);

    /**
     * 新增健步走队伍
     *
     * @param appWorkTeam 健步走队伍
     * @return 结果
     */
    public int insertAppWorkTeam(AppWorkTeam appWorkTeam);

    /**
     * 修改健步走队伍
     *
     * @param appWorkTeam 健步走队伍
     * @return 结果
     */
    public int updateAppWorkTeam(AppWorkTeam appWorkTeam);

    /**
     * 删除健步走队伍
     *
     * @param id 健步走队伍主键
     * @return 结果
     */
    public int deleteAppWorkTeamById(Long id);

    /**
     * 批量删除健步走队伍
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAppWorkTeamByIds(Long[] ids);
}
